Skip to content

Added support for conditional comments (only IE) for CSS#39

Open
pgrunewald wants to merge 1 commit intocollective:masterfrom
pgrunewald:master-pgrunewald
Open

Added support for conditional comments (only IE) for CSS#39
pgrunewald wants to merge 1 commit intocollective:masterfrom
pgrunewald:master-pgrunewald

Conversation

@pgrunewald
Copy link
Copy Markdown

Hello,

I was noticing that every CSS will be included into CKEditor regardless if there is a conditional statement or not. I built a JavaScript checking method, which will be applied when such a conditional statement exists.

To make this possible I needed to update how CSS entries are aggregated: Instead of a strings, there's now a intermediate dictionary (key: url, conditionalcomment). The resulting JS Code will check for each item which has a conditional comment, before adding it.

regards, Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant